package de.slothsoft.stube.all.it;

import org.junit.Test;

import android.test.ActivityInstrumentationTestCase2;
import de.slothsoft.stube.MapActivity;

public class MapActivityTest extends ActivityInstrumentationTestCase2<MapActivity> {

    public MapActivityTest() {
	super(MapActivity.class);
    }

    @Test
    public void testSetUp() {
	assertNotNull(getActivity());
    }

    @Test
    public void testCenterOnAddress() {
	MapActivity activity = getActivity();
	activity.centerOn("Berlin");
	assertTrue(true);
    }

    @Test
    public void testCenterOnLocation() {
	MapActivity activity = getActivity();
	activity.centerOn(0, 0);
	assertTrue(true);
    }

}
